package com.qijian.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 【请填写功能名称】对象 sys_remind_users
 *
 * @author qijian
 * @date 2022-08-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("sys_remind_users")
public class RemindUsers extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    @Excel(name = "主表ID")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "主表ID")
    private Long mainId;

    @Excel(name = "用户")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "用户")
    private Long userId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @Excel(name = "类型 0、用户id 1自定义字段")
    @ApiModelProperty(value = "类型 0、用户id 1自定义字段")
    private Integer customType;

    @Excel(name = "自定义表字段")
    @ApiModelProperty(value = "自定义表字段")
    private String customField;

}
